package com.ruoyi.oa.mapper;

import com.ruoyi.common.annotation.DataColumn;
import com.ruoyi.common.annotation.DataPermission;
import com.ruoyi.oa.domain.OaAdministrateContact;
import com.ruoyi.oa.domain.bo.OaAdministrateContactBo;
import com.ruoyi.oa.domain.vo.OaAdministrateContactVo;
import com.ruoyi.common.core.mapper.BaseMapperPlus;
import java.util.List;
import com.ruoyi.oa.domain.vo.OaProjectVo;

/**
 * 合同审批Mapper接口
 *
 * @author ruoyi
 * @date 2023-08-25
 */
public interface OaAdministrateContactMapper extends BaseMapperPlus<OaAdministrateContactMapper, OaAdministrateContact, OaAdministrateContactVo> {
    @DataPermission({
        @DataColumn(key = "deptName", value = "dept_id"),
        @DataColumn(key = "userName", value = "user_id")
    })
    List<OaAdministrateContactVo> queryByCondition(OaAdministrateContactBo bo);
}
